go/printer.printer.lastTok (field)
11 uses
go/printer (current package)
printer.go#L66: lastTok token.Token // last token printed (token.ILLEGAL if it's whitespace)
printer.go#L742: if p.lastTok != token.IMPORT && // do not rewrite cgo's import "C" comments
printer.go#L909: switch p.lastTok {
printer.go#L913: p.prevOpen = p.lastTok
printer.go#L949: p.lastTok = token.ILLEGAL
printer.go#L955: p.lastTok = token.IDENT
printer.go#L961: p.lastTok = x.Kind
printer.go#L965: if mayCombine(p.lastTok, s[0]) {
printer.go#L985: p.lastTok = x
printer.go#L992: p.lastTok = token.STRING
printer.go#L1001: wroteNewline, droppedFF := p.flush(next, p.lastTok)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)